package com.zhengtoudai.injector.component;

import android.content.Context;
import android.view.LayoutInflater;

import com.squareup.otto.Bus;
import com.zhengtoudai.base.App;
import com.zhengtoudai.base.BaseActivity;
import com.zhengtoudai.http.HttpApi;
import com.zhengtoudai.injector.module.AppModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by Administrator on 2016/8/23 0023.
 */

@Singleton
@Component(modules = AppModule.class)
public interface AppComponent {

    Bus getBus();

    Context getContext();

    LayoutInflater getLayoutInflater();


    void inject(App mApp);

    void inject(HttpApi retrofitManager);

    void inject(BaseActivity mBaseActivity);
}
